package cn.cxq.learning.e1_1;

import java.util.Scanner;

public class Client {

    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);
        int num = scanner.nextInt();

        for (int i = 0; i < num; i++) {
            double value = scanner.nextDouble();
            double result = LogDerivativeUtil.operation(value);
            System.out.println(String.format("%.2f", result));
        }
    }
}
